{% load staticfiles %}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/unit.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/style-ad-setting.css' %}">
<script type="text/javascript" src="{% static 'js/unit.js' %}">
</script>

<title>企业考勤管理系统-个人账户</title>
</head>
<body onload="startTime()">
    <div class="head">
    	<h2>企业管理系统</h2>
    	<div class="head-right">
    		<span class="head-help"><a href="#">帮助</a></span>
    		<div id="head-time"></div>
    	</div>
    </div>
    <div id="navigation">
    	<nav role="navigation">
		  <ul>
          <a href="/"><li>首页</li></a>
          	<a href="/employee/list/"><li>职工管理</li></a>
          	<a href="/ment/ment/"><li class="li-active">部门管理</li></a>
          	<a href="/classes/class/"><li>班次管理</li></a>
          	<a href="/chenk/chenk/"><li>考勤记录</li></a>
          	<a href="/"><li>系统维护</li></a>
          	<a href="/"><li>请假管理</li></a>
		  </ul>
		</nav>
    </div>
    <div class="left-list">
    	<a href="/ment/ment/"><div class="ll-active">部门详情</div></a>
        <a href="/ment/setting/"><div class="left-child">部门设置</div></a>
    </div>
    <div class="right">
        <span class="title-bar">部门管理<i class="fa fa-angle-right" style="letter-spacing:2px;"></i>部门设置</span>
        <div class="department-member">
            <table class="table table-striped" style="margin-left:40px; width:92%">
              <caption>公司部门</caption>
               <thead>
                  <tr>
                     <th>部门名称</th>
                     <th>部门编号</th>
                     <th>删除部门</th>
                  </tr>
               </thead>
               <tbody>

                    {% for ment in ments %}
                  <tr>
                     <td><input type="checkbox" name="checkbox">{{ ment.ment_name }}</td>
                     <td>{{ ment.id }}</td>
                     <td><a href="/ment/del/?id={{ ment.id }}">删除</a></td>
                  </tr>
                    {% endfor %}
               </tbody>
            </table>
            <div class="action">
              <input type="checkbox" name="checkbox"><a href="#">全选</a>
            </div>
          <div class="dt-function">
            <a href="/ment/add/"><button class="btn btn-default" style="float:left;">添加部门</button></a>
            <button class="btn btn-default" style="float:right;">批量删除</button>
          </div>
        </div>
    </div>
</body>